projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6552a55
)
fix display of uninitialized ports
author
Mike Baker
<
[email protected]
>
Wed, 14 Jun 2006 22:44:35 +0000
(22:44 +0000)
committer
Mike Baker
<
[email protected]
>
Wed, 14 Jun 2006 22:44:35 +0000
(22:44 +0000)
SVN-Revision: 3946
openwrt/target/linux/package/switch/src/switch-robo.c
patch
|
blob
|
history
diff --git
a/openwrt/target/linux/package/switch/src/switch-robo.c
b/openwrt/target/linux/package/switch/src/switch-robo.c
index 7e4c4de2967e14e97face2ca1cec1939e21ad6ad..0e85104331f34959f30428f2756606d45f65e87e 100644
(file)
--- a/
openwrt/target/linux/package/switch/src/switch-robo.c
+++ b/
openwrt/target/linux/package/switch/src/switch-robo.c
@@
-313,6
+313,8
@@
static int handle_vlan_port_read(void *driver, char *buf, int nr)
len += sprintf(buf + len, "\n");
}
}
+
+ buf[len] = '\0';
return len;
}